home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / cfix101.zip / CITYFIX.DOC next >
Text File  |  1990-02-19  |  2KB  |  49 lines

  1. CityFix 1.01 is here!  (obviously) .. and the source is here too!  not by
  2. accident either <grin>, you can find a local pascal hacker to fix it
  3. for local needs.  All US states + Puerto Rico + Canada, + High ASCII
  4. support for Europe is already in there.  If nothing else, I learned
  5. the State abbreviations!  This is most likely the last version until
  6. QuickBBS changes the USERS.BBS structure then I will just recompile
  7. with the new structure.  Use 'CITYFIX ?' for help.
  8.  
  9. CityFix is just a small, simple program that reads the City field from
  10. QuickBBS's USERS.BBS file and changes the City & State look 'Proper'.
  11. No control files are needed, just run it in your QuickBBS directory.
  12.  
  13. Command Line Parms:
  14.  
  15. -B  = DO NOT erase backup file USERS.BAK.  Default is to erase it.
  16. -E  = Expand States/Provinces (see below)
  17. -C  = Compress States/Provinces (see below)
  18. -P  = Strip All periods in City/State
  19.  
  20. Here are some output examples:
  21.  
  22. 'Austin, tx'      --> 'Austin, Tx'
  23. 'austin, TX'      --> 'Austin, Tx'
  24. 'austin,tx'       --> 'Austin, Tx'   (inserts a space after comma)
  25. 'AUSTIN, TX'      --> 'Austin, Tx'     (stop yelling!)
  26. 'Austin , Texas'  --> 'Austin, Texas'  (deletes unnecessary space)
  27.  
  28. (with -C Parameter):
  29.  
  30. 'Austin, Texas'   --> 'Austin, Tx')
  31.  
  32. (with -E Parameter):
  33.  
  34. 'Austin, TX'      --> 'Austin, Texas';
  35.  
  36. (with -P and -E Parameters):
  37.  
  38. 'Austin, t.x.'    --> 'Austin, Texas';
  39.  
  40. CityFix first copies USERS.BBS to USERS.BAK.  Then it goes through
  41. each user record and fixes the city and state.  It took 11 seconds to
  42. run 341 users on this 10 MHz XT, so you can run it once a night in
  43. maintenance.  I can't beleive such a joke program got so popular,
  44. can you?  Then again, Adam Hudson didn't ever think QuickBBS would
  45. get so popular, either.
  46.  
  47. Please report any problems or suggestions (or mispellings) to
  48. Chris Lamprecht at FidoNet 1:382/36 or BBS (512)836-8777.
  49.